package com.codebattery.domain.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author cay91
 * @Date 2020-09-09 6:28 PM
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CartOrderInfo {
    private Integer userId; //用户ID
    private Integer receiveId;  //收货人ID
    private String note;    //备注

    @Data
    public static class CartItemInfo {
        private Integer goodsId;
        private Integer count;
        private String img;
        private String meal;
        private String price;
        private String title;
    }

    private List<CartItemInfo> cartItems;
}
